import profilePic from './assets/enroll.png'
function Card(){

    return (
        // 在jsx中的类需要用className关键字
        <div className="card">
            <img className="card-image" src={profilePic} alt="profile pic"></img>
            <h2 className='card-title'>Alan Root</h2>
            <p className='card-text'>I am learning react now which is really cool !!</p>
        </div>
    )
}

export default Card